﻿Imports System.Xml.Serialization
Imports System.Xml


<Serializable()> Public Class TelefoneInfo

    Public Sub New()

    End Sub

    Private _id As Nullable(Of Integer)

    <XmlAttribute(AttributeName:="Id")> _
    Public Property id() As Nullable(Of Integer)
        Get
            Return _id
        End Get
        Set(ByVal value As Nullable(Of Integer))
            _id = value
        End Set
    End Property

    <XmlIgnore()> _
    Public ReadOnly Property idSpecified() As Boolean
        Get
            Return (id IsNot Nothing And id.HasValue)
        End Get
    End Property

    Private _idTipoTelefone As Nullable(Of Integer)
    <XmlAttribute(AttributeName:="idTipoTelefone")> _
    Public Property idTipoTelefone() As Nullable(Of Integer)
        Get
            Return _idTipoTelefone
        End Get
        Set(ByVal value As Nullable(Of Integer))
            _idTipoTelefone = value
        End Set
    End Property

    <XmlIgnore()> _
    Public ReadOnly Property idTipoTelefoneSpecified() As Boolean
        Get
            Return (idTipoTelefone IsNot Nothing And idTipoTelefone.HasValue)
        End Get
    End Property

    Private _idtelefone As Nullable(Of Integer)
    Public Property idtelefone() As Nullable(Of Integer)
        Get
            Return _idtelefone
        End Get
        Set(ByVal value As Nullable(Of Integer))
            _idtelefone = value
        End Set
    End Property

    <XmlIgnore()> _
    Public ReadOnly Property idtelefoneSpecified() As Boolean
        Get
            Return (idtelefone IsNot Nothing And idtelefone.HasValue)
        End Get
    End Property


    Private _idvalue As String
    <XmlAttribute(AttributeName:="idvalue")> _
    Public Property idvalue() As String
        Get
            Return _idvalue
        End Get
        Set(ByVal value As String)
            _idvalue = value
        End Set
    End Property

    Private _tipoTelefone As String
    <XmlAttribute(AttributeName:="tipoTelefone")> _
    Public Property tipoTelefone() As String
        Get
            Return _tipoTelefone
        End Get
        Set(ByVal value As String)
            _tipoTelefone = value
        End Set
    End Property


    Private _telefone As String
    <XmlAttribute(AttributeName:="telefone")> _
    Public Property telefone() As String
        Get
            Return _telefone
        End Get
        Set(ByVal value As String)
            _telefone = value
        End Set
    End Property





End Class
